package com.logistics.team3.po;
// default package

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * 
 * 交接单
 *
 * Receipt entity. @author MyEclipse Persistence Tools
 */

public class Receipt  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      * 司机
      */
     private Driver driver;
     /**
      * 接收点
      */
     private Distribution distributionByReceiverPoint;
     /**
      * 发货配送点
      */
     private Distribution distributionByStartPoint;
     /**
      * 创建操作人
      */
     private Employee employee;
     /**
      * 所属运力
      */
     private Dispatch dispatch;
     /**
      * 流水号
      */
     private String serialNumber;
     /**
      * 创建时间
      */
     private Date createTime;
     /**
      * 签收时间
      */
     private Date getTime;
     /**
      * 签收人
      */
     private String getPeople;
     /**
      * 状态
      */
     private Integer state;
     private Set receiptClientorders = new HashSet(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Driver getDriver() {
		return driver;
	}
	public void setDriver(Driver driver) {
		this.driver = driver;
	}
	public Distribution getDistributionByReceiverPoint() {
		return distributionByReceiverPoint;
	}
	public void setDistributionByReceiverPoint(
			Distribution distributionByReceiverPoint) {
		this.distributionByReceiverPoint = distributionByReceiverPoint;
	}
	public Distribution getDistributionByStartPoint() {
		return distributionByStartPoint;
	}
	public void setDistributionByStartPoint(Distribution distributionByStartPoint) {
		this.distributionByStartPoint = distributionByStartPoint;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Dispatch getDispatch() {
		return dispatch;
	}
	public void setDispatch(Dispatch dispatch) {
		this.dispatch = dispatch;
	}
	public String getSerialNumber() {
		return serialNumber;
	}
	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getGetTime() {
		return getTime;
	}
	public void setGetTime(Date getTime) {
		this.getTime = getTime;
	}
	public String getGetPeople() {
		return getPeople;
	}
	public void setGetPeople(String getPeople) {
		this.getPeople = getPeople;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Set getReceiptClientorders() {
		return receiptClientorders;
	}
	public void setReceiptClientorders(Set receiptClientorders) {
		this.receiptClientorders = receiptClientorders;
	}

}